package com.vova.rec.grpc.server.grpc;

import com.vova.rec.grpc.common.BooleanReply;
import com.vova.rec.grpc.common.ConditionsRequest;
import com.vova.rec.grpc.common.DeviceFix;
import com.vova.rec.grpc.common.DeviceFixServiceGrpc;
import io.grpc.stub.StreamObserver;
import org.springframework.stereotype.Component;

@Component
public class ServiceImpl extends DeviceFixServiceGrpc.DeviceFixServiceImplBase {
    @Override
    public void insertDeviceFix(DeviceFix request, StreamObserver<BooleanReply> responseObserver) {
        super.insertDeviceFix(request, responseObserver);
    }

    @Override
    public void updateDeviceFix(DeviceFix request, StreamObserver<BooleanReply> responseObserver) {
        super.updateDeviceFix(request, responseObserver);
    }

    @Override
    public void searchDeviceFix(ConditionsRequest request, StreamObserver<DeviceFix> responseObserver) {
        super.searchDeviceFix(request, responseObserver);
    }

    @Override
    public void deleteDeviceFix(ConditionsRequest request, StreamObserver<BooleanReply> responseObserver) {
        super.deleteDeviceFix(request, responseObserver);
    }
}
